Optimal. Leaf size=60 \[ \frac {a (A b-a B)}{3 b^3 \left (a+b x^3\right )}+\frac {(A b-2 a B) \log \left (a+b x^3\right )}{3 b^3}+\frac {B x^3}{3 b^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 60, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {446, 77} \begin {gather*} \frac {a (A b-a B)}{3 b^3 \left (a+b x^3\right )}+\frac {(A b-2 a B) \log \left (a+b x^3\right )}{3 b^3}+\frac {B x^3}{3 b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rule 446
Rubi steps
\begin {align*} \int \frac {x^5 \left (A+B x^3\right )}{\left (a+b x^3\right )^2} \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int \frac {x (A+B x)}{(a+b x)^2} \, dx,x,x^3\right )\\ &=\frac {1}{3} \operatorname {Subst}\left (\int \left (\frac {B}{b^2}+\frac {a (-A b+a B)}{b^2 (a+b x)^2}+\frac {A b-2 a B}{b^2 (a+b x)}\right ) \, dx,x,x^3\right )\\ &=\frac {B x^3}{3 b^2}+\frac {a (A b-a B)}{3 b^3 \left (a+b x^3\right )}+\frac {(A b-2 a B) \log \left (a+b x^3\right )}{3 b^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 50, normalized size = 0.83 \begin {gather*} \frac {\frac {a (A b-a B)}{a+b x^3}+(A b-2 a B) \log \left (a+b x^3\right )+b B x^3}{3 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^5 \left (A+B x^3\right )}{\left (a+b x^3\right )^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.69, size = 81, normalized size = 1.35 \begin {gather*} \frac {B b^{2} x^{6} + B a b x^{3} - B a^{2} + A a b - {\left ({\left (2 \, B a b - A b^{2}\right )} x^{3} + 2 \, B a^{2} - A a b\right )} \log \left (b x^{3} + a\right )}{3 \, {\left (b^{4} x^{3} + a b^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 91, normalized size = 1.52 \begin {gather*} \frac {\frac {{\left (b x^{3} + a\right )} B}{b^{2}} + \frac {{\left (2 \, B a - A b\right )} \log \left (\frac {{\left | b x^{3} + a \right |}}{{\left (b x^{3} + a\right )}^{2} {\left | b \right |}}\right )}{b^{2}} - \frac {\frac {B a^{2} b}{b x^{3} + a} - \frac {A a b^{2}}{b x^{3} + a}}{b^{3}}}{3 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 74, normalized size = 1.23 \begin {gather*} \frac {B \,x^{3}}{3 b^{2}}+\frac {A a}{3 \left (b \,x^{3}+a \right ) b^{2}}+\frac {A \ln \left (b \,x^{3}+a \right )}{3 b^{2}}-\frac {B \,a^{2}}{3 \left (b \,x^{3}+a \right ) b^{3}}-\frac {2 B a \ln \left (b \,x^{3}+a \right )}{3 b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.46, size = 60, normalized size = 1.00 \begin {gather*} \frac {B x^{3}}{3 \, b^{2}} - \frac {B a^{2} - A a b}{3 \, {\left (b^{4} x^{3} + a b^{3}\right )}} - \frac {{\left (2 \, B a - A b\right )} \log \left (b x^{3} + a\right )}{3 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.08, size = 62, normalized size = 1.03 \begin {gather*} \frac {B\,x^3}{3\,b^2}+\frac {\ln \left (b\,x^3+a\right )\,\left (A\,b-2\,B\,a\right )}{3\,b^3}-\frac {B\,a^2-A\,a\,b}{3\,b\,\left (b^3\,x^3+a\,b^2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.61, size = 56, normalized size = 0.93 \begin {gather*} \frac {B x^{3}}{3 b^{2}} + \frac {A a b - B a^{2}}{3 a b^{3} + 3 b^{4} x^{3}} - \frac {\left (- A b + 2 B a\right ) \log {\left (a + b x^{3} \right )}}{3 b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________